package com.lzk.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.jfinal.kit.Ret;
import com.lzk.model.Room;

public interface RoomService {

	Ret createRoom(Room room, HttpServletRequest req);

	List<Room> getRooms(int page, int limit);

	Ret enterRoom(String roomId, String pwd, HttpServletRequest req);

    long getRoomCount(String roomName, String roomStatus);

	List<Room> getRooms(int page, int limit, String roomName, String roomStatus);

	Ret outRoom(HttpServletRequest request);

    Ret getRoomInfo(HttpServletRequest req);

    Ret ready(HttpServletRequest request);
}
